from pyecharts.charts import Pie
from pyecharts import options
gw=[("南昌",10),("北京",30),("上海",20),("成都",40)]
pie=Pie()
pie.add("单位/个",gw)
pie.set_global_opts(title_opts=options.TitleOpts(title="各城市岗位占比"))
pie.render("piera.html")
